<template>
	<section>
		<div class="succ">
			<div class="load_logo">
			</div> 
			<p class="centre sz28 pud30">车油通</p> 
			<button class="btns" @click="$pub.loadApp">点击下载</button>
		</div>
		<div class="layers" v-if="lays">
			<img class="w100 mu50" src="../../../assets/Login/autologin1.png" />
		</div>
	</section>
</template>

<script>
	export default {
		data() {
			return {
				lays: false
			}
		},
		created() {
			let v = this,
				user = window.navigator.userAgent;
			if(/(MicroMessenger|AlipayClient)/igm.test(user)&&/Android/igm.test(user)) {
				v.lays = true;
			}
		},
	}
</script>

<style scoped>
	.succ,
	.layers {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
	}
	
	.layers {
		background: rgba(0, 0, 0, .6);
	}
	
	.load_logo {
		height: 45%;
		width: 100%;
		background: url(../../../assets/Login/load_logo.png) no-repeat;
		background-size: 100% 100%;
	}
</style>